<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{#$title#}</title>
<meta http-equiv="X-UA-Compatible" content="IE=7">
<link href="{#$QISHI.site_template#}css/common.css" rel="stylesheet" type="text/css" />
<link href="{#$QISHI.site_template#}css/user.css" rel="stylesheet" type="text/css" />
<script src="{#$QISHI.site_template#}js/calendar.js" type='text/javascript' language="javascript"></script>
<script>
function chk_form()
{
if (document.Form1.fullname.value.length<2)
	{
	alert("請完整輸入您的名字")
	document.Form1.fullname.focus();
	return (false);
	}
if (document.Form1.birthday.value=="" || document.Form1.birthday.value<16)
	{
	alert("請正確輸入您的出生日期！")
	document.Form1.birthday.focus();
	return (false);
	}

if (document.Form1.area.value=="")
	{
	alert("請輸入您的現所在地！")
	document.Form1.area.focus();
	return (false);
	}
if (document.Form1.householdaddress.value=="")
	{
	alert("請輸入您住址！")
	document.Form1.householdaddress.focus();
	return (false);
	}

if (document.Form1.telephone.value.length<6)
	{
	alert("請輸入您的聯絡電話！（6個字符以上）")
	document.Form1.telephone.focus();
	return (false);
}
if (document.Form1.idcard.value.length<6)
	{
	alert("請輸入正確身份證/護照號碼！")
	document.Form1.idcard.focus();
	return (false);
	}
if (document.Form1.address.value=="")
	{
	alert("請輸入通訊地址！")
	document.Form1.address.focus();
	return (false);
	}
if ((/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(document.Form1.email.value))==0)
{
alert("E_Mail格式有誤!")
document.Form1.email.focus();
return (false);
}
return (true);
}
</script>
<body>
{#include file="header.htm"#}
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:8px;" >
  <tr>
    <td width="208" valign="top" class="link_bk">
	{#include file="member_personal/personal_left.htm"#}
	</td>
    <td valign="top">
    
      <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="user_right_box">
        <tr>
          <td height="22" colspan="2" class="user_right_box_bg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="28"><span class="right_top_tit" style="padding-left:15px;">編輯簡歷</span></td>
                <td width="120" class="link_lan"><a href="?act=index">會員中心</a></td>
              </tr>
          </table></td>
        </tr>
        <tr>
          <td height="22">
          <form id="Form1" name="Form1" method="post" action="?act=save_resume_basic" onsubmit="return chk_form();">
          <table width="100%" border="0" cellspacing="0" cellpadding="4" style="margin-bottom:15px;">
            <tr>
              <td height="50" colspan="2" bgcolor="#F5FAFC" style=" border-bottom:1px #CCCCCC dashed; color:#003399">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-size:14px;">您的基本信息</span> <span style="color:#999999">(帶<strong  style="color:#FF0000">*</strong>的為必填)</span></td>
              </tr>
			  <tr>
              <td width="100" height="10"></td>
              <td></td>
            </tr>
            <tr>
              <td  height="23" align="right"><strong  style="color:#FF0000">*</strong>英文姓名：</td>
              <td><input name="enname" type="text" class="user_input" id="enname" maxlength="15" value="{#$resume_basic.enname#}"/>            </td>
            </tr>
            <tr>
              <td height="23" align="right"><strong  style="color:#FF0000">*</strong>中文姓名：</td>
              <td><input name="fullname" type="text" class="user_input" id="fullname" maxlength="6" value="{#$resume_basic.fullname#}"/>            </td>
            </tr>            
            <tr>
              <td height="23" align="right">称谓：</td>
              <td><label>
                <input name="sex" type="radio" value="1" {#if $resume_basic.sex==1 ||  $resume_basic.sex==""#} checked="checked"{#/if#}/>
                先生</label>&nbsp;&nbsp;&nbsp;&nbsp;
               <label> <input type="radio" name="sex" value="2" {#if $resume_basic.sex==2#} checked="checked"{#/if#}/>
                太太</label>
                                
                <label> <input type="radio" name="sex" value="3" {#if $resume_basic.sex==3#} checked="checked"{#/if#}/>
                                女士</label>
                <label> <input type="radio" name="sex" value="3" {#if $resume_basic.sex==4#} checked="checked"{#/if#}/>
                小姐</label>                                
                </td>
            </tr>
			 <tr>
              <td height="23" align="right">婚姻狀況：</td>
              <td>
                <label><input name="marriage" type="radio" value="1" {#if $resume_basic.marriage==1 ||  $resume_basic.marriage==""#} checked="checked"{#/if#} />
                未婚</label>&nbsp;&nbsp;&nbsp;&nbsp;
                <label><input type="radio" name="marriage" value="2"  {#if $resume_basic.marriage==2#} checked="checked"{#/if#}/>
                已婚</label>&nbsp;&nbsp;&nbsp;&nbsp;
				<label><input type="radio" name="marriage" value="3" {#if $resume_basic.marriage==3#} checked="checked"{#/if#}/>
                離婚</label>                
                <label><input type="radio" name="marriage" value="4" {#if $resume_basic.marriage==4#} checked="checked"{#/if#}/>
                配偶離世</label></td>
            </tr>            
            <tr>
              <td height="23" align="right"><strong  style="color:#FF0000">*</strong>出生日期：</td>
              <td><input name="birthday" type="text" class="user_input" id="birthday" maxlength="2"  style="width:80px;" value="{#$resume_basic.birthday#}" onfocus="c.showMoreDay = false;c.show(this);"/>
                </td>
            </tr>
			<tr>
              <td height="23" align="right"><strong  style="color:#FF0000">*</strong>身份證/護照號碼：</td>
              <td><input name="idcard" type="text" class="user_input" id="idcard" maxlength="20" value="{#$resume_basic.idcard#}"  onkeyup="if(event.keyCode !=37 && event.keyCode != 39) value=value.replace(/\D/g,'');"onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/\D/g,''))"/></td>
            </tr>            
           
			<tr>
              <td height="23" align="right"><strong  style="color:#FF0000">*</strong>國籍：</td>
              <td>
			  <input name="country" type="text" class="user_input" id="country" maxlength="15" value="{#$resume_basic.country#}"/> 
			</td>
            </tr>            
            <tr>
              <td height="23" align="right" valign="top"><strong  style="color:#FF0000">*</strong>聯絡電話：</td>
              <td>（住&nbsp;&nbsp;&nbsp;所）<input name="telehome" type="text" class="user_input" id="telehome" maxlength="40" value="{#$resume_basic.telehome#}"/><br />（辦公室）<input name="teleoffice" type="text" class="user_input" id="teleoffice" maxlength="40" value="{#$resume_basic.teleoffice#}"/><br />（手&nbsp;&nbsp;&nbsp;提）<input name="telephone" type="text" class="user_input" id="telephone" maxlength="40" value="{#$resume_basic.telephone#}"/>
              </td>
            </tr>
			   <tr>
              <td height="23" align="right"><strong  style="color:#FF0000">*</strong>電郵：</td>
              <td><input name="email" type="text" class="user_input" id="email" maxlength="50"  value="{#$resume_basic.email|default:$email#}"/>
                <label>
                <input name="email_notify" type="checkbox" id="email_notify" value="1" {#if $resume_basic.email_notify=="" || $resume_basic.email_notify=="1"#}checked="checked"{#/if#} />
                用郵箱接收面試邀請</label></td>
            </tr>
            <tr>
              <td height="23" align="right"><strong  style="color:#FF0000">*</strong>住址：</td>
              <td><input name="householdaddress" type="text" class="user_input" id="householdaddress" maxlength="60"  value="{#$resume_basic.householdaddress#}"/></td>
            </tr>            
            <tr>
              <td height="23" align="right"><strong  style="color:#FF0000">*</strong>通訊地址：</td>
              <td><input name="address" type="text" class="user_input" id="address" maxlength="60" value="{#$resume_basic.address#}"/>(如與上地址不同請填寫)</td>
            </tr>

			{#if $resume_basic.deadline#}
			    <tr style="display:none">
              <td height="23" align="right">簡歷有效截至：</td>
              <td>{#$resume_basic.deadline|date_format:"%Y年%m月%d日"#}</td>
            </tr>
			   <tr style="display:none">
              <td height="23" align="right">延長有效時間：</td>
              <td><input name="deadline_add" type="text" class="user_input" id="deadline_add" maxlength="4" value="0"  style="width:50px;"/>  天 (0表示不延長)
			  <input name="deadline" type="hidden" value="{#$resume_basic.deadline#}" />
			  </td>
            </tr>
			{#else#}
			   <tr style="display:none">
              <td height="23" align="right">可到職時間：</td>
              <td><input name="deadline" type="text" class="user_input" id="deadline" maxlength="5" value="30"  style="width:50px;" onkeyup="if(event.keyCode !=37 && event.keyCode != 39) value=value.replace(/\D/g,'');"onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/\D/g,''))"/> 
              </td>
            </tr>
			{#/if#}            
            <tr>
              <td height="23" align="right">&nbsp;</td>
              <td height="60"><input type="submit" name="Submit" value="儲存"  style="font-size:12px; padding:3px;"/></td>
            </tr>
          </table>
           </form>                       
          </td>
          <td width="150" valign="top" class="personal_resume_right_box" >
		 {#include file="member_personal/personal_right.htm"#} 
		  </td>
        </tr>
      </table>
   
    
    </td>
  </tr>
</table>
{#include file="footer.htm"#}
</body>
</html>
